package com.example.myapp.ui.home;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.example.myapp.R;

public class Act_wholeshow extends AppCompatActivity {

    private TextView uname,utitle,utext,udate;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        getSupportActionBar().hide();
        super.onCreate(savedInstanceState);
        setContentView(R.layout.wholeshow_home);
        uname = findViewById(R.id.whole_name);
        utitle = findViewById(R.id.whole_tit);
        utext = findViewById(R.id.whole_text);
        udate = findViewById(R.id.whole_date);
        Intent i = getIntent();
        uname.setText(i.getStringExtra("name"));
        utitle.setText(i.getStringExtra("title"));
        utext.setText(i.getStringExtra("text"));
        udate.setText(i.getStringExtra("date"));


    }
}
